home *** CD-ROM | disk | FTP | other *** search
/ Presentation Graphics / ClickArt Presentation Graphics.7z / ClickArt Presentation Graphics.bin / autorun.cfg next >
Text File  |  2002-05-22  |  522b  |  28 lines

  1.  
  2.  
  3.  
  4. set $5 to registry "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\ClickArt Presentation Graphics.EXE" ""
  5.  
  6. goto @notinstalled if equal {$5} ""
  7.  
  8. run {$5}
  9.  
  10. stop
  11. @notinstalled
  12.  
  13. //only run install if user is an admin
  14. //check for admin
  15. set $4 to isadmin ""             
  16. goto @adminerr if equal {$4} "0"
  17. goto @admin
  18. stop
  19. @adminerr
  20. message "Error" "We're sorry, you must be an administrator to run this program.  Please log on as an administrator and try again."
  21. stop
  22. @admin
  23.  
  24.  
  25. @admin
  26. run setup.exe
  27. stop
  28.